package com.dnzx.service;


import java.util.List;

import org.dnzx.framework.orm.mybatis.MyBatisBaseService;
import org.dnzx.framework.page.PageResult;

import com.dnzx.model.system.MenuBO;

/**
 * <p>系统后台资源service接口类</p>
 *
 * @author Steven
 * @version V1.0
 * @Package com.dnzx.service
 * 
 * @date 2017/9/15 11:09
 */
public interface IMenuService extends MyBatisBaseService<MenuBO,Long> {
	
	public void save(MenuBO menuBO);

	public void delete(Long id);
	
	public void update(MenuBO menuBO);
	
	public MenuBO get(Long id);

	public List<MenuBO> queryList(MenuBO menuBO);
	
	public List<MenuBO> queryListByRole(MenuBO menuBO);

	public PageResult<List<MenuBO>> queryPage(MenuBO menuBO, PageResult<List<MenuBO>> pageResult);
	
	public MenuBO queryTree(Long roleId);
	
	public MenuBO queryTreeByRole(Long roleId);
	
}
